Optimal. Leaf size=58 \[ -\sqrt {5} \tanh ^{-1}\left (\frac {\sqrt {x^4+5}}{\sqrt {5}}\right )+\frac {15}{4} \sinh ^{-1}\left (\frac {x^2}{\sqrt {5}}\right )+\frac {1}{4} \sqrt {x^4+5} \left (3 x^2+4\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.05, antiderivative size = 58, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 7, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.350, Rules used = {1252, 815, 844, 215, 266, 63, 207} \[ \frac {1}{4} \sqrt {x^4+5} \left (3 x^2+4\right )+\frac {15}{4} \sinh ^{-1}\left (\frac {x^2}{\sqrt {5}}\right )-\sqrt {5} \tanh ^{-1}\left (\frac {\sqrt {x^4+5}}{\sqrt {5}}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 63
Rule 207
Rule 215
Rule 266
Rule 815
Rule 844
Rule 1252
Rubi steps
\begin {align*} \int \frac {\left (2+3 x^2\right ) \sqrt {5+x^4}}{x} \, dx &=\frac {1}{2} \operatorname {Subst}\left (\int \frac {(2+3 x) \sqrt {5+x^2}}{x} \, dx,x,x^2\right )\\ &=\frac {1}{4} \left (4+3 x^2\right ) \sqrt {5+x^4}+\frac {1}{4} \operatorname {Subst}\left (\int \frac {20+15 x}{x \sqrt {5+x^2}} \, dx,x,x^2\right )\\ &=\frac {1}{4} \left (4+3 x^2\right ) \sqrt {5+x^4}+\frac {15}{4} \operatorname {Subst}\left (\int \frac {1}{\sqrt {5+x^2}} \, dx,x,x^2\right )+5 \operatorname {Subst}\left (\int \frac {1}{x \sqrt {5+x^2}} \, dx,x,x^2\right )\\ &=\frac {1}{4} \left (4+3 x^2\right ) \sqrt {5+x^4}+\frac {15}{4} \sinh ^{-1}\left (\frac {x^2}{\sqrt {5}}\right )+\frac {5}{2} \operatorname {Subst}\left (\int \frac {1}{x \sqrt {5+x}} \, dx,x,x^4\right )\\ &=\frac {1}{4} \left (4+3 x^2\right ) \sqrt {5+x^4}+\frac {15}{4} \sinh ^{-1}\left (\frac {x^2}{\sqrt {5}}\right )+5 \operatorname {Subst}\left (\int \frac {1}{-5+x^2} \, dx,x,\sqrt {5+x^4}\right )\\ &=\frac {1}{4} \left (4+3 x^2\right ) \sqrt {5+x^4}+\frac {15}{4} \sinh ^{-1}\left (\frac {x^2}{\sqrt {5}}\right )-\sqrt {5} \tanh ^{-1}\left (\frac {\sqrt {5+x^4}}{\sqrt {5}}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.06, size = 57, normalized size = 0.98 \[ \frac {1}{4} \left (-4 \sqrt {5} \tanh ^{-1}\left (\frac {\sqrt {x^4+5}}{\sqrt {5}}\right )+15 \sinh ^{-1}\left (\frac {x^2}{\sqrt {5}}\right )+\sqrt {x^4+5} \left (3 x^2+4\right )\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.73, size = 56, normalized size = 0.97 \[ \frac {1}{4} \, \sqrt {x^{4} + 5} {\left (3 \, x^{2} + 4\right )} + \sqrt {5} \log \left (-\frac {\sqrt {5} - \sqrt {x^{4} + 5}}{x^{2}}\right ) - \frac {15}{4} \, \log \left (-x^{2} + \sqrt {x^{4} + 5}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.21, size = 76, normalized size = 1.31 \[ \frac {1}{4} \, \sqrt {x^{4} + 5} {\left (3 \, x^{2} + 4\right )} + \sqrt {5} \log \left (-\frac {x^{2} + \sqrt {5} - \sqrt {x^{4} + 5}}{x^{2} - \sqrt {5} - \sqrt {x^{4} + 5}}\right ) - \frac {15}{4} \, \log \left (-x^{2} + \sqrt {x^{4} + 5}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.02, size = 49, normalized size = 0.84 \[ \frac {3 \sqrt {x^{4}+5}\, x^{2}}{4}+\frac {15 \arcsinh \left (\frac {\sqrt {5}\, x^{2}}{5}\right )}{4}-\sqrt {5}\, \arctanh \left (\frac {\sqrt {5}}{\sqrt {x^{4}+5}}\right )+\sqrt {x^{4}+5} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 1.56, size = 99, normalized size = 1.71 \[ \frac {1}{2} \, \sqrt {5} \log \left (-\frac {\sqrt {5} - \sqrt {x^{4} + 5}}{\sqrt {5} + \sqrt {x^{4} + 5}}\right ) + \sqrt {x^{4} + 5} + \frac {15 \, \sqrt {x^{4} + 5}}{4 \, x^{2} {\left (\frac {x^{4} + 5}{x^{4}} - 1\right )}} + \frac {15}{8} \, \log \left (\frac {\sqrt {x^{4} + 5}}{x^{2}} + 1\right ) - \frac {15}{8} \, \log \left (\frac {\sqrt {x^{4} + 5}}{x^{2}} - 1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.15, size = 45, normalized size = 0.78 \[ \frac {15\,\mathrm {asinh}\left (\frac {\sqrt {5}\,x^2}{5}\right )}{4}-\sqrt {5}\,\mathrm {atanh}\left (\frac {\sqrt {5}\,\sqrt {x^4+5}}{5}\right )+\sqrt {x^4+5}\,\left (\frac {3\,x^2}{4}+1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 15.59, size = 83, normalized size = 1.43 \[ \frac {3 x^{6}}{4 \sqrt {x^{4} + 5}} + \frac {15 x^{2}}{4 \sqrt {x^{4} + 5}} + \sqrt {x^{4} + 5} + \frac {\sqrt {5} \log {\left (x^{4} \right )}}{2} - \sqrt {5} \log {\left (\sqrt {\frac {x^{4}}{5} + 1} + 1 \right )} + \frac {15 \operatorname {asinh}{\left (\frac {\sqrt {5} x^{2}}{5} \right )}}{4} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________